package com.hifar.test.collectdata.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author zhuWeiWei
 * @description 采集气候
 * @date 2025/1/8 18:09
 */
@Data
@EqualsAndHashCode
@ApiModel("气候采集数据")
public class ClimateCollectionData {

    private String id;

    @ApiModelProperty("湿度实测值")
    private BigDecimal humidityPv;
    @ApiModelProperty("温度实测值")
    private BigDecimal temperaturePv;
    @ApiModelProperty("气压实测值")
    private BigDecimal pressurePv;
    @ApiModelProperty("水温")
    private BigDecimal waterTemperaturePv;
    @ApiModelProperty("水压实测值")
    private BigDecimal waterPressurePv;
    @ApiModelProperty("压缩空气压力实测值")
    private BigDecimal airPressurePv;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timeStamp;


}
